<?php
/************************FoxPHP威客系统************************/
/*                                                            */
/*  FoxPHP.Com (C)2006-2016 FoxPHP Inc.                       */
/*  This is NOT a freeware, use is subject to license terms   */
/*  FoxPHP威客系统是商业软件,使用于商业用途请购买授权         */
/*  V3.0 2016.3                                               */
/*  foxphp@aliyun.com                                         */
/*  http://www.foxphp.com                                     */
/*                                                            */
/**************************************************************/

return array(

	//后台菜单
	'adminmenu'=>array(
		//首页
		array('key'=>'home','id'=>array('index','auth'),'name'=>'首页','url'=>'/admin','icon'=>'glyphicon glyphicon-home','open'=>true,'active'=>true,'submenu'=>
			array()
		),
		
		//全局
		array('key'=>'basic','id'=>array('siteset','template','nav','annex','email','ucdata','verifycode'),'name'=>'全局','url'=>'#','icon'=>'glyphicon glyphicon-cog','open'=>false,'active'=>false,'submenu'=>array(
			//站点设置
			array('id'=>'siteset','name'=>'站点设置','url'=>'/admin/siteset','active'=>false,'submenu'=>array(
				array('name'=>'基本设置','action'=>'index','url'=>'/admin/siteset/index','active'=>true),
				array('name'=>'安全配置','action'=>'security','url'=>'/admin/siteset/security','active'=>true),
				array('name'=>'SEO配置','action'=>'seo','url'=>'/admin/siteset/seo','active'=>true),
				array('name'=>'上传水印','action'=>'annex','url'=>'/admin/siteset/annex','active'=>true),
				array('name'=>'关于我们','action'=>'about','url'=>'/admin/siteset/about','active'=>true),
				array('name'=>'联系我们','action'=>'contact','url'=>'/admin/siteset/contact','active'=>true),
				array('name'=>'客服中心','action'=>'service','url'=>'/admin/siteset/service','active'=>true)
				)
			),
			
			array('id'=>'template','name'=>'模板管理','url'=>'/admin/template/index','active'=>false),
		 
			//网站导航
			array('id'=>'nav','name'=>'网站导航','url'=>'/admin/nav','active'=>false,'submenu'=>array(
				array('name'=>'导航列表','action'=>'index','url'=>'/admin/nav/index','active'=>true),
				array('name'=>'导航添加','action'=>'add','url'=>'/admin/nav/add','active'=>true),
				array('name'=>'导航编辑','action'=>'edit','url'=>'/admin/nav/edit','active'=>false),
				array('name'=>'导航删除','action'=>'delete','url'=>'/admin/nav/delete','active'=>false)
				)
			),
			
			array('id'=>'annex','name'=>'附件管理','url'=>'/admin/annex','active'=>false,'submenu'=>array(
				array('name'=>'附件列表','action'=>'index','url'=>'/admin/annex/index','active'=>true),
				array('name'=>'附件删除','action'=>'delete','url'=>'/admin/annex/delete','active'=>false)
				)
			),
			
			
			array('id'=>'email','name'=>'邮件配置','url'=>'/admin/email','active'=>false),
			array('id'=>'ucdata','name'=>'数据整合','url'=>'/admin/ucdata','active'=>false),
			array('id'=>'verifycode','name'=>'站验证码','url'=>'/admin/verifycode','active'=>false)
			)
		),
		
		//内容
		array('key'=>'content','id'=>array('task','fuwu','case','news','help','message','report','evaluation','notice','refund'),'name'=>'内容','url'=>'#','icon'=>'glyphicon glyphicon-hdd','open'=>false,'active'=>false,'submenu'=>array(
			array('id'=>'task','name'=>'任务管理','url'=>'/admin/task','active'=>false,'submenu'=>array(
				array('name'=>'任务管理','action'=>'index','url'=>'/admin/task/index','active'=>true),
				array('name'=>'任务编辑','action'=>'edit','url'=>'/admin/task/edit','active'=>false),
				array('name'=>'稿件管理','action'=>'order','url'=>'/admin/task/order','active'=>true),
				array('name'=>'稿件编辑','action'=>'orderedit','url'=>'/admin/task/orderedit','active'=>false),
				array('name'=>'评论管理','action'=>'comment','url'=>'/admin/task/comment','active'=>true)
				)
			),
	
			array('id'=>'fuwu','name'=>'服务管理','url'=>'/admin/fuwu','active'=>false,'submenu'=>array(
				array('name'=>'服务管理','action'=>'index','url'=>'/admin/fuwu/index','active'=>true),
				array('name'=>'服务编辑','action'=>'edit','url'=>'/admin/fuwu/edit','active'=>false),
				)
			),
			
			array('id'=>'case','name'=>'案例管理','url'=>'/admin/case','active'=>false,'submenu'=>array(
				array('name'=>'案例管理','action'=>'index','url'=>'/admin/case/index','active'=>true),
				array('name'=>'案例添加','action'=>'add','url'=>'/admin/case/add','active'=>true),
				array('name'=>'案例编辑','action'=>'edit','url'=>'/admin/case/edit','active'=>false),
				array('name'=>'案例删除','action'=>'delete','url'=>'/admin/case/delete','active'=>false),
				)
			),
			
			array('id'=>'news','name'=>'新闻管理','url'=>'/admin/news','active'=>false,'submenu'=>array(
				array('name'=>'新闻管理','action'=>'index','url'=>'/admin/news/index','active'=>true),
				array('name'=>'新闻添加','action'=>'add','url'=>'/admin/news/add','active'=>true),
				array('name'=>'新闻编辑','action'=>'edit','url'=>'/admin/news/edit','active'=>false),
				array('name'=>'新闻删除','action'=>'delete','url'=>'/admin/news/delete','active'=>false),
				)
			),
			
			array('id'=>'help','name'=>'帮助管理','url'=>'/admin/help','active'=>false,'submenu'=>array(
				array('name'=>'帮助管理','action'=>'index','url'=>'/admin/help/index','active'=>true),
				array('name'=>'帮助添加','action'=>'add','url'=>'/admin/help/add','active'=>true),
				array('name'=>'帮助编辑','action'=>'edit','url'=>'/admin/help/edit','active'=>false),
				array('name'=>'帮助删除','action'=>'delete','url'=>'/admin/help/delete','active'=>false),
				)
			),

			array('id'=>'message','name'=>'留言管理','url'=>'/admin/message','active'=>false,'submenu'=>array(
				array('name'=>'留言管理','action'=>'index','url'=>'/admin/message/index','active'=>true),
				array('name'=>'留言删除','action'=>'delete','url'=>'/admin/message/delete','active'=>false),
				)
			),
			
			
			array('id'=>'refund','name'=>'退款管理','url'=>'/admin/refund','active'=>false,'submenu'=>array(
				array('name'=>'退款管理','action'=>'index','url'=>'/admin/refund/index','active'=>true),
				array('name'=>'退款详细','action'=>'show','url'=>'/admin/refund/show','active'=>false),
				array('name'=>'退款删除','action'=>'delete','url'=>'/admin/refund/delete','active'=>false)
				)
			),
			
			array('id'=>'report','name'=>'举报管理','url'=>'/admin/report','active'=>false,'submenu'=>array(
				array('name'=>'举报管理','action'=>'index','url'=>'/admin/report/index','active'=>true),
				array('name'=>'举报操作','action'=>'operate','url'=>'/admin/report/operate','active'=>false),
				array('name'=>'举报删除','action'=>'delete','url'=>'/admin/report/delete','active'=>false)
				)
			),
	
			array('id'=>'evaluation','name'=>'评价管理','url'=>'/admin/evaluation','active'=>false),
			array('id'=>'notice','name'=>'通知管理','url'=>'/admin/notice','active'=>false)
			
			)
		),
		
		//用户
		array('key'=>'user','id'=>array('member','auth','role','dialog','shopcertificate','certificate','customerservice'),'name'=>'用户','url'=>'#','icon'=>'glyphicon glyphicon-user','open'=>false,'active'=>false,'submenu'=>array(
			array('id'=>'member','name'=>'用户管理','url'=>'/admin/member','active'=>false,'submenu'=>array(
				array('name'=>'用户管理','action'=>'index','url'=>'/admin/member/index','active'=>true),
				array('name'=>'用户操作','action'=>'operate','url'=>'/admin/member/operate','active'=>false),
				array('name'=>'用户编辑','action'=>'edit','url'=>'/admin/member/edit','active'=>false),
				array('name'=>'用户删除','action'=>'delete','url'=>'/admin/member/delete','active'=>false)
				)
			),
			
			//权限管理
			array('id'=>'auth','name'=>'系统权限','url'=>'/admin/auth','active'=>false,'submenu'=>array(
				array('name'=>'权限列表','action'=>'index','url'=>'/admin/auth/index','active'=>true),
				array('name'=>'权限添加','action'=>'add','url'=>'/admin/auth/add','active'=>true),
				array('name'=>'权限编辑','action'=>'edit','url'=>'/admin/auth/edit','active'=>false),
				array('name'=>'权限删除','action'=>'delete','url'=>'/admin/auth/delete','active'=>false),
				array('name'=>'我的权限','action'=>'member','url'=>'/admin/auth/member','active'=>true)
				)
			),
			//角色
			array('id'=>'role','name'=>'角色管理','url'=>'/admin/role','active'=>false,'submenu'=>array(
				array('name'=>'角色列表','action'=>'index','url'=>'/admin/role/index','active'=>true),
				array('name'=>'角色添加','action'=>'add','url'=>'/admin/role/add','active'=>true),
				array('name'=>'角色编辑','action'=>'edit','url'=>'/admin/role/edit','active'=>false),
				array('name'=>'角色删除','action'=>'delete','url'=>'/admin/role/delete','active'=>false)
				)
			),
			
			array('id'=>'dialog','name'=>'站信管理','url'=>'/admin/dialog','active'=>false),
			
			
			
			array('id'=>'shopcertificate','name'=>'店铺认证','url'=>'/admin/shopcertificate','active'=>false,'submenu'=>array(
				array('name'=>'店铺列表','action'=>'index','url'=>'/admin/shopcertificate/index','active'=>true),
				array('name'=>'店铺审核','action'=>'show','url'=>'/admin/shopcertificate/show','active'=>false),
				array('name'=>'店铺删除','action'=>'delete','url'=>'/admin/shopcertificate/delete','active'=>false)
				)
			),
			array('id'=>'certificate','name'=>'手邮认证','url'=>'/admin/certificate','active'=>false),
			
			array('id'=>'customerservice','name'=>'客服管理','url'=>'/admin/customerservice','active'=>false,'submenu'=>array(
				array('name'=>'客服管理','action'=>'index','url'=>'/admin/customerservice/index','active'=>true),
				array('name'=>'客服添加','action'=>'add','url'=>'/admin/customerservice/add','active'=>true),
				array('name'=>'客服编辑','action'=>'edit','url'=>'/admin/customerservice/edit','active'=>false),
				array('name'=>'客服删除','action'=>'delete','url'=>'/admin/customerservice/delete','active'=>false),
				)
			)
			
			)
		),
		
		//分类
		array('key'=>'category','id'=>array('category','categorycity'),'name'=>'分类','url'=>'#','icon'=>'glyphicon glyphicon-th','open'=>false,'active'=>false,'submenu'=>array(
			
			//权限管理
			array('id'=>'category','name'=>'内容分类','url'=>'/admin/category/index','active'=>false,'submenu'=>array(
				array('name'=>'分类列表','action'=>'index','url'=>'/admin/category/index','active'=>true),
				array('name'=>'分类添加','action'=>'add','url'=>'/admin/category/add','active'=>true),
				array('name'=>'分类更新','action'=>'update','url'=>'/admin/category/update','active'=>true),
				array('name'=>'分类编辑','action'=>'edit','url'=>'/admin/category/edit','active'=>false),
				array('name'=>'分类删除','action'=>'delete','url'=>'/admin/category/delete','active'=>false)
				)
			),

			array('id'=>'categorycity','name'=>'城市分类','url'=>'/admin/categorycity','active'=>false,'submenu'=>array(
				array('name'=>'城市列表','action'=>'index','url'=>'/admin/categorycity/index','active'=>true),
				array('name'=>'城市添加','action'=>'add','url'=>'/admin/categorycity/add','active'=>true),
				array('name'=>'城市更新','action'=>'update','url'=>'/admin/categorycity/update','active'=>true),
				array('name'=>'城市编辑','action'=>'edit','url'=>'/admin/categorycity/edit','active'=>false),
				array('name'=>'城市删除','action'=>'delete','url'=>'/admin/categorycity/delete','active'=>false)
				)
			),
			
			
			)
		),
		
		//财务
		array('key'=>'money','id'=>array('consume','payin','payout','money'),'name'=>'财务','url'=>'#','icon'=>'glyphicon glyphicon-usd','open'=>false,'active'=>false,'submenu'=>array(
			array('id'=>'consume','name'=>'交易管理','url'=>'/admin/consume','active'=>false),
			array('id'=>'payin','name'=>'充值管理','url'=>'/admin/payin','active'=>false),
			array('id'=>'payout','name'=>'提现管理','url'=>'/admin/payout','active'=>false),
			array('id'=>'money','name'=>'增减金额','url'=>'/admin/money','active'=>false),
			)
		),
		
		//运营
		array('key'=>'spread','id'=>array('business','otoo','slide','payport','sqlbackup','ad','mobileconsume','links'),'name'=>'运营','url'=>'#','icon'=>'glyphicon glyphicon-send','open'=>false,'active'=>false,'submenu'=>array(
			array('id'=>'business','name'=>'运营配置','url'=>'/admin/business','active'=>false),
			array('id'=>'otoo','name'=>'网站定位','url'=>'/admin/otoo','active'=>false),
			array('id'=>'slide','name'=>'幻灯管理','url'=>'/admin/slide','active'=>false,'submenu'=>array(
				array('name'=>'幻灯管理','action'=>'index','url'=>'/admin/slide/index','active'=>true),
				array('name'=>'幻灯添加','action'=>'add','url'=>'/admin/slide/add','active'=>true),
				array('name'=>'幻灯编辑','action'=>'edit','url'=>'/admin/slide/edit','active'=>false),
				array('name'=>'幻灯删除','action'=>'delete','url'=>'/admin/slide/delete','active'=>false)
				)
			),

			array('id'=>'payport','name'=>'支付接口','url'=>'/admin/payport','active'=>false),
			array('id'=>'sqlbackup','name'=>'数据备份','url'=>'/admin/sqlbackup','active'=>false,'submenu'=>array(
				array('name'=>'普通方法备份','action'=>'index','url'=>'/admin/sqlbackup/index','active'=>true),
				array('name'=>'高级方法备份','action'=>'level','url'=>'/admin/sqlbackup/level','active'=>true),
				array('name'=>'数据恢复','action'=>'restore','url'=>'/admin/sqlbackup/restore','active'=>true)
				)
			),
			
			
			array('id'=>'ad','name'=>'广告管理','url'=>'/admin/ad','active'=>false,'submenu'=>array(
				array('name'=>'广告管理','action'=>'index','url'=>'/admin/ad/index','active'=>true),
				array('name'=>'广告添加','action'=>'add','url'=>'/admin/ad/add','active'=>true),
				array('name'=>'广告编辑','action'=>'edit','url'=>'/admin/ad/edit','active'=>false),
				array('name'=>'广告删除','action'=>'delete','url'=>'/admin/ad/delete','active'=>false)
				)
			),
			
			array('id'=>'mobileconsume','name'=>'手机消费','url'=>'/admin/mobileconsume','active'=>false),
			array('id'=>'links','name'=>'友情链接','url'=>'/admin/links','active'=>false,'submenu'=>array(
				array('name'=>'友情管理','action'=>'index','url'=>'/admin/links/index','active'=>true),
				array('name'=>'友情添加','action'=>'add','url'=>'/admin/links/add','active'=>true),
				array('name'=>'友情编辑','action'=>'edit','url'=>'/admin/links/edit','active'=>false),
				array('name'=>'友情删除','action'=>'delete','url'=>'/admin/links/delete','active'=>false)
				)
			),
			)
		)
	)

);